From: Marco Trevisan (TreviƱo) Date: Wed, 28 Feb 2024 20:52:55 +0000 (+0100) Subject: js/gdm/util: Rename fingerprint device into devicePath X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~97 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=efb52899f505f1c54120298ac1cc7d3e476a4ff6;p=gnome-shell.git js/gdm/util: Rename fingerprint device into devicePath It's just the dbus object path, so let's not be confused by that. Part-of: --- diff --git a/js/gdm/util.js b/js/gdm/util.js index 24593f6b5..2db918807 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -355,11 +355,11 @@ export class ShellUserVerifier extends Signals.EventEmitter { return; } - const [device] = await this._fprintManager.GetDefaultDeviceAsync( + const [devicePath] = await this._fprintManager.GetDefaultDeviceAsync( Gio.DBusCallFlags.NONE, this._cancellable); const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system, 'net.reactivated.Fprint', - device); + devicePath); const fprintDeviceType = fprintDeviceProxy['scan-type']; this._fingerprintReaderType = fprintDeviceType === 'swipe'